@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" style="padding-left: 50px">
            <div class="row">
                <div class="col-sm-10">
					<#input name="订单号" id="orderNo" value="${trainOrderDetail.orderNo}" />
                </div>
            </div>
            @for(ticket in trainOrderDetail.userList){
            @var cardType,seatType,ticketStatus;
            @if(ticket.cardType == '0'){cardType='二代身份证';}else if(ticket.cardType == '1'){cardType='港澳通行证';} else if(ticket.cardType == '2'){cardType='台湾通行证';} else if(ticket.cardType == '3'){cardType='护照';}
            @if(ticket.seatType == '1'){seatType='硬上';}else if(ticket.seatType == '2'){seatType='硬中';} else if(ticket.seatType == '3'){seatType='硬下';} else if(ticket.seatType == '4'){seatType='软上';} else if(ticket.seatType == '5'){seatType='软下';}
            @if(ticket.status == '1'){ticketStatus='已锁定';}else if(ticket.status == '2'){ticketStatus='待使用';} else if(ticket.status == '3'){ticketStatus='已改签';} 
            @else if(ticket.status == '4'){ticketStatus='已退票';} else if(ticket.status == '5'){ticketStatus='已进站';} else if(ticket.status == '6'){ticketStatus='退票审核中';}

            	<div class="input-group" style="border:1px solid #CCC; padding-top: 15px ;padding-left:10px;padding-right:15px; margin-bottom: 20px">
					<label>&nbsp;&nbsp;&nbsp;乘车人:${ticket.name}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;车票状态:${ticketStatus}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;车票价格:${ticket.price}</label>
					<hr></hr>
					 <div class="row">
		                <div class="col-sm-6 b-r">
							<#input name="坐席类型" id="seatType" value="${seatType}" />
							<#input name="证件类型" id="cardType" value="${cardType}" />
		                </div>
		       			<div class="col-sm-6">
							 <#input name="座位号" id="seatNo" value="${ticket.seatNo}" />
							 <#input name="证件号码" id="cardNo" value="${ticket.cardNo}" />
		                </div>
		            </div>
            	</div>
			@}
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                   <!--  <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TrainOrderInfoDlg.editSubmit()"/> -->
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TrainOrderInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/js/trainOrder/trainOrder_info.js"></script>
@}
